package com.demo.rabbitmq;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.SubscribableChannel;
import org.springframework.stereotype.Component;

@Component
public interface MyMessageChannel {
    String out = "out";
    @Output(out)
    MessageChannel out();

    String in = "in";
    @Input(in)
    SubscribableChannel in();
}
